<!DOCTYPE html>
<html xmlns=http://www.w3.org/1999/xhtml xmlns:bd=http://www.baidu.com/2010/xbdml>
<head>
    <meta http-equiv="Content-Type" content="text/html" charset="utf-8">
    <title>设备库</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link Rel="SHORTCUT ICON" href="/pc/login/img/logo1.png">
    <link rel="stylesheet" href="/pc/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="/pc/layout/css/font_eolqem241z66flxr.css" media="all" />
    <link rel="stylesheet" href="/pc/layout/css/news.css" media="all" />
</head>
<body class="childrenBody">
<!-- <blockquote class="layui-elem-quote news_search">
    <form class="layui-form" id="form" action="/admin/setmeal/index" method="get">   
        <div class="layui-inline">
            <div class="layui-input-inline" style="width: 15em;">
                <input type="text" value="" placeholder="请输入关键字" class="layui-input search_input">
            </div>
            <a class="layui-btn search_btn"  id="management">查询</a>
        </div>
    </form>
</blockquote> -->
<div class="layui-form links_list">
    <table class="layui-table">
        <thead>
        <tr>           
            <th>Name</th>
            <th>AppId</th>
            <th>Secret</th>
            <th>Callback</th>
            <th>Address</th>
        </tr>
        </thead>
        <tbody class="links_content">
        @if(!empty($data))
            @foreach($data as $val)
                <tr>
                    <td>{{$val['name']}}</td>
                    <td style="color:#432cbd;">{{$val['appId']}}</td>
                    <td style="color:#189f92;">{{$val['secret']}}</td>
                    <td>{{$val['callback']}}</td>
                    <td style="color:#f90c0c">{{$val['address']}}</td>
                </tr>
            @endforeach
        @endif
        </tbody>
    </table>
</div>

<script src="/pc/layout/js/jquery.min.js"></script>
<script type="text/javascript" src="/pc/layui/layui.js"></script>
</body>
<script type="text/javascript">
    $("#management").click(function(){

        $("#form").submit()


    })
</script>
   
</html>